<div ng-controller="AddrentAgreementController">
    <div class="apart-title-box">
        <div class="apart-title-info">
            租客信息
        </div>
        <div class="base-center-rent-content">
            <div class="base-center-row-content">
                <div class="base-title">
                    租客姓名：
                </div>
                <input ng-model="additionalRentInfo.rentName" class="input-info" type="text">
            </div>
            <div class="base-center-row-content-h">
                <div class="base-title">
                    租客性别：
                </div>
                <select class="input-info  pro-write-base-backimg"
                        ng-model="additionalRentInfo.rentSex">
                    <option ng-show="false" disabled="disabled" value="" >请选择</option>
                    <option  value="MALE">男</option>
                    <option  value="FEMALE">女</option>
                </select>
            </div>
            <div class="base-center-row-content-h">
                <div class="base-title">
                    租客职业：
                </div>
                <input class="input-info" type="text" ng-model="additionalRentInfo.rentJob">
            </div>
            <div class="base-center-row-content-h">
                <div class="base-title">
                    手机号：
                </div>
                <input class="input-info" type="number"  ng-model="additionalRentInfo.rentPhone">
            </div>
            <div class="base-center-row-content-h">
                <div class="base-title">
                    身份证号：
                </div>
                <input class="input-info" type="number"  ng-model="additionalRentInfo.rentIdNo">
            </div>
        </div>
        <div class="apart-title-info">
            租赁信息
        </div>
        <div class="base-center-rent-content-2">
            <div class="base-center-row-content-h">
                <div class="base-title">
                    租期开始：
                </div>

                <div id="startTime" class="time-container">
                    <select name="year" class="pro-write-base-backimg" >
                        <option value="">年</option>
                    </select>
                    <select name="month"  class="pro-write-base-backimg">
                        <option value="" >月</option>
                    </select>
                    <select  class="day pro-write-base-backimg" name="days" >
                        <option value="">日</option>
                    </select>
                </div>
            </div>

            <div class="base-center-row-content-h">
                <div class="base-title">
                    租期结束：
                </div>

                <div id="endTime" class="time-container">
                    <select name="year" class="pro-write-base-backimg" >
                        <option value="">年</option>
                    </select>
                    <select name="month"  class="pro-write-base-backimg" >
                        <option value="" >月</option>
                    </select>
                    <select  class="day pro-write-base-backimg" name="days">
                        <option value="">日</option>
                    </select>
                </div>

            </div>
            <div class="base-center-row-content-h">
                <div class="base-title">
                    缴租周期：
                </div>
                <select class="input-info  pro-write-base-backimg"
                        ng-model="additionalRentInfo.payCycle"
                        ng-options="content for content in rentpaycycles.num">
                    <option ng-show="false" disabled="disabled" value=''>请选择</option>
                </select>
            </div>
            <div class="base-center-row-content-h">
                <div class="base-title">
                    月租金：
                </div>
                <input class="input-info" type="number" ng-model="additionalRentInfo.monthlyRent">
            </div>
            <div class="base-center-row-content-h">
                <div class="base-title">
                    押金：
                </div>
                <input class="input-info" type="number" ng-model="additionalRentInfo.deposit">
            </div>
            <div class="base-center-row-content-h">
                <div class="base-title">
                    入住人数：
                </div>
                <input class="input-info" type="number" ng-model="additionalRentInfo. personNum">
            </div>
        </div>
        <div class="apart-title-info">
            上传租赁合同
        </div>
        <div class="base-center-rent-content-3">
            <div class="add-pic-box">
                <div class="upload-rent-deal-box">
                    <div class="upload-rent-pic" ng-repeat="number in [1,2,3,4]">
                        <div id="proPicture{{number}}" class="pictures">
                            <input onchange='angular.element(this).scope().uploadRentPic(this)'
                                   ng-show="upload.pictures.length+1>=number  " type="file"
                                   accept="image/png,image/gif"
                                   class="staff-upload-Excel">
                            <img ng-show="upload.pictures.length +1>=number "
                                 class="plus-img-sty"
                                 ng-src="{{upload.pictures.length > number ? upload.pictures[number-1]:'img/apament/plus.png'}}">
                        </div>
                    </div>
                </div>
            </div>
            <button class="button-rent-sty" value="" ng-click="submitAddrentinfo(additionalRentInfo)">创建</button>
        </div>
    </div>
</div>